$OpenBSD: patch-src_scim_chartraits_cpp,v 1.1 2009/01/20 09:25:17 kevlo Exp $
--- src/scim_chartraits.cpp.orig	Tue Jan 20 13:33:31 2009
+++ src/scim_chartraits.cpp	Tue Jan 20 13:34:30 2009
@@ -34,7 +34,7 @@ using namespace scim;
                     + __GNUC_MINOR__ * 100 \
                     + __GNUC_PATCHLEVEL__)
 
-#if !defined(__STDC_ISO_10646__) && GCC_VERSION >= 30200
+#if !(defined(__STDC_ISO_10646__) || defined(__OpenBSD__)) && GCC_VERSION >= 30200
 
 namespace std
 {
